[jQuery] Prepend and Append at the same time
Posted
by Nimbuz
on Stack Overflow
See other posts from Stack Overflow
or by Nimbuz
Published on 2010-06-01T13:18:57Z
Indexed on
2010/06/01
13:23 UTC
Read the original article
Hit count: 166
jQuery
|dom-manipulation
$('.testimonials blockquote p')
.prepend('“') .append('”');
...prepends and appends TWICE. How do I prepend ldquo + whatever content inside the p + rdquo?
Thanks!
© Stack Overflow or respective owner